package demo2;

import demo2.Animal;

public class Bird extends Animal implements IFlying {
    public Bird(String name){
        super(name);
    }

    @Override
    public void fly() {
        System.out.println(this.name+"正在飞");
    }
}
